package spring.cloud.tasks.tasks_assign_manager.database.repository;

import org.springframework.stereotype.Repository;
import spring.cloud.tasks.tasks_assign_manager.database.entity.NameSpaceZooKeeperClusterMappingDto;

import java.util.List;

@Repository
public interface NameSpaceZooKeeperClusterMappingDtoRepository {

    NameSpaceZooKeeperClusterMappingDto selectBynameSpace(String nameSpace);


    List<NameSpaceZooKeeperClusterMappingDto> selectAll();

    List<NameSpaceZooKeeperClusterMappingDto> selectByZooKeeperClusterKey(String zkClusterKey);


}
